[INFO] cloning repository https://github.com/unfuse/aoc2015
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/unfuse/aoc2015" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Funfuse%2Faoc2015", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Funfuse%2Faoc2015'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 7d5dc40be60c11f0eef7357e35af2df13b3439c9
[INFO] checking unfuse/aoc2015 against try#34585ff556bad2462429cd3775623c743928a72f for pr-102593
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Funfuse%2Faoc2015" "/workspace/builds/worker-3/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/unfuse/aoc2015 on toolchain 34585ff556bad2462429cd3775623c743928a72f
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+34585ff556bad2462429cd3775623c743928a72f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/unfuse/aoc2015
[INFO] finished tweaking git repo https://github.com/unfuse/aoc2015
[INFO] tweaked toml for git repo https://github.com/unfuse/aoc2015 written to /workspace/builds/worker-3/source/Cargo.toml
[INFO] crate git repo https://github.com/unfuse/aoc2015 already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+34585ff556bad2462429cd3775623c743928a72f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3d1cd00eb6e6ea2a7969240779edeaeff35b24be85036c63b883ba933028a15f" "/opt/rustwide/cargo-home/bin/cargo" "+34585ff556bad2462429cd3775623c743928a72f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] c409e407c3f9e421baaf7555a6497c800120d1825669a266cea9d91c704774c8
[INFO] running `Command { std: "docker" "start" "-a" "c409e407c3f9e421baaf7555a6497c800120d1825669a266cea9d91c704774c8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "c409e407c3f9e421baaf7555a6497c800120d1825669a266cea9d91c704774c8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c409e407c3f9e421baaf7555a6497c800120d1825669a266cea9d91c704774c8", kill_on_drop: false }`
[INFO] [stdout] c409e407c3f9e421baaf7555a6497c800120d1825669a266cea9d91c704774c8
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3d1cd00eb6e6ea2a7969240779edeaeff35b24be85036c63b883ba933028a15f" "/opt/rustwide/cargo-home/bin/cargo" "+34585ff556bad2462429cd3775623c743928a72f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 1db4bf9e3219e4f0d61db02a872b6bc688e5250d9672c348f0688388e9fa5566
[INFO] running `Command { std: "docker" "start" "-a" "1db4bf9e3219e4f0d61db02a872b6bc688e5250d9672c348f0688388e9fa5566", kill_on_drop: false }`
[INFO] [stderr]    Compiling memchr v2.3.4
[INFO] [stderr]     Checking lazy_static v1.4.0
[INFO] [stderr]     Checking regex-syntax v0.6.21
[INFO] [stderr]     Checking md5 v0.7.0
[INFO] [stderr]     Checking thread_local v1.0.1
[INFO] [stderr]     Checking aho-corasick v0.7.15
[INFO] [stderr]     Checking regex v1.4.2
[INFO] [stderr]     Checking aoc2015 v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]   --> src/bin/day02.rs:28:22
[INFO] [stdout]    |
[INFO] [stdout] 28 |         ft_ribbon += (min_wrap + sides[0] * sides[1] * sides[2])
[INFO] [stdout]    |                      ^                                         ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 28 -         ft_ribbon += (min_wrap + sides[0] * sides[1] * sides[2])
[INFO] [stdout] 28 +         ft_ribbon += min_wrap + sides[0] * sides[1] * sides[2]
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]   --> src/bin/day02.rs:28:22
[INFO] [stdout]    |
[INFO] [stdout] 28 |         ft_ribbon += (min_wrap + sides[0] * sides[1] * sides[2])
[INFO] [stdout]    |                      ^                                         ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 28 -         ft_ribbon += (min_wrap + sides[0] * sides[1] * sides[2])
[INFO] [stdout] 28 +         ft_ribbon += min_wrap + sides[0] * sides[1] * sides[2]
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0106]: missing lifetime specifier
[INFO] [stdout]   --> src/bin/day07.rs:43:63
[INFO] [stdout]    |
[INFO] [stdout] 43 | fn get_value(key: &str, values: &mut HashMap<&str, Value>) -> &u16 {
[INFO] [stdout]    |                   ----          -------------------------     ^ expected named lifetime parameter
[INFO] [stdout]    |
[INFO] [stdout]    = help: this function's return type contains a borrowed value, but the signature does not say whether it is borrowed from `key` or one of `values`'s 3 lifetimes
[INFO] [stdout] help: consider introducing a named lifetime parameter
[INFO] [stdout]    |
[INFO] [stdout] 43 | fn get_value<'a>(key: &'a str, values: &'a mut HashMap<&'a str, Value<'a>>) -> &'a u16 {
[INFO] [stdout]    |             ++++       ++               ++              ++           ++++       ++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0106]: missing lifetime specifier
[INFO] [stdout]   --> src/bin/day07.rs:43:63
[INFO] [stdout]    |
[INFO] [stdout] 43 | fn get_value(key: &str, values: &mut HashMap<&str, Value>) -> &u16 {
[INFO] [stdout]    |                   ----          -------------------------     ^ expected named lifetime parameter
[INFO] [stdout]    |
[INFO] [stdout]    = help: this function's return type contains a borrowed value, but the signature does not say whether it is borrowed from `key` or one of `values`'s 3 lifetimes
[INFO] [stdout] help: consider introducing a named lifetime parameter
[INFO] [stdout]    |
[INFO] [stdout] 43 | fn get_value<'a>(key: &'a str, values: &'a mut HashMap<&'a str, Value<'a>>) -> &'a u16 {
[INFO] [stdout]    |             ++++       ++               ++              ++           ++++       ++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `value` in this scope
[INFO] [stdout]   --> src/bin/day07.rs:36:39
[INFO] [stdout]    |
[INFO] [stdout] 36 |             setup.insert(key, Pattern(value));
[INFO] [stdout]    |                                       ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `value` in this scope
[INFO] [stdout]   --> src/bin/day07.rs:36:39
[INFO] [stdout]    |
[INFO] [stdout] 36 |             setup.insert(key, Pattern(value));
[INFO] [stdout]    |                                       ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `is_nice_part1` is never used
[INFO] [stdout]   --> src/bin/day05.rs:21:4
[INFO] [stdout]    |
[INFO] [stdout] 21 | fn is_nice_part1(string: &str) -> bool {
[INFO] [stdout]    |    ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `is_nice_part1` is never used
[INFO] [stdout]   --> src/bin/day05.rs:21:4
[INFO] [stdout]    |
[INFO] [stdout] 21 | fn is_nice_part1(string: &str) -> bool {
[INFO] [stdout]    |    ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `capture_iter` found for struct `regex::Regex` in the current scope
[INFO] [stdout]   --> src/bin/day07.rs:56:37
[INFO] [stdout]    |
[INFO] [stdout] 56 |                     for c in val_re.capture_iter(pattern) {
[INFO] [stdout]    |                                     ^^^^^^^^^^^^ help: there is a method with a similar name: `captures_iter`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `capture_iter` found for struct `regex::Regex` in the current scope
[INFO] [stdout]   --> src/bin/day07.rs:56:37
[INFO] [stdout]    |
[INFO] [stdout] 56 |                     for c in val_re.capture_iter(pattern) {
[INFO] [stdout]    |                                     ^^^^^^^^^^^^ help: there is a method with a similar name: `captures_iter`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/bin/day07.rs:56:21
[INFO] [stdout]    |
[INFO] [stdout] 56 | /                     for c in val_re.capture_iter(pattern) {
[INFO] [stdout] 57 | |                         let lit: u16 = c[1].parse::<u16>().expect("could not parse literal");
[INFO] [stdout] 58 | |                         values.insert(key, Literal(lit));
[INFO] [stdout] 59 | |                         return &lit;
[INFO] [stdout] 60 | |                     }
[INFO] [stdout]    | |_____________________^ expected `&u16`, found `()`
[INFO] [stdout]    |
[INFO] [stdout] note: the function expects a value to always be returned, but loops might run zero times
[INFO] [stdout]   --> src/bin/day07.rs:56:21
[INFO] [stdout]    |
[INFO] [stdout] 56 |                     for c in val_re.capture_iter(pattern) {
[INFO] [stdout]    |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this might have zero elements to iterate on
[INFO] [stdout] ...
[INFO] [stdout] 59 |                         return &lit;
[INFO] [stdout]    |                         ----------- if the loop doesn't execute, this value would never get returned
[INFO] [stdout]    = help: return a value for the case when the loop has zero elements to iterate on, or consider changing the return type to account for that possibility
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/bin/day07.rs:56:21
[INFO] [stdout]    |
[INFO] [stdout] 56 | /                     for c in val_re.capture_iter(pattern) {
[INFO] [stdout] 57 | |                         let lit: u16 = c[1].parse::<u16>().expect("could not parse literal");
[INFO] [stdout] 58 | |                         values.insert(key, Literal(lit));
[INFO] [stdout] 59 | |                         return &lit;
[INFO] [stdout] 60 | |                     }
[INFO] [stdout]    | |_____________________^ expected `&u16`, found `()`
[INFO] [stdout]    |
[INFO] [stdout] note: the function expects a value to always be returned, but loops might run zero times
[INFO] [stdout]   --> src/bin/day07.rs:56:21
[INFO] [stdout]    |
[INFO] [stdout] 56 |                     for c in val_re.capture_iter(pattern) {
[INFO] [stdout]    |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this might have zero elements to iterate on
[INFO] [stdout] ...
[INFO] [stdout] 59 |                         return &lit;
[INFO] [stdout]    |                         ----------- if the loop doesn't execute, this value would never get returned
[INFO] [stdout]    = help: return a value for the case when the loop has zero elements to iterate on, or consider changing the return type to account for that possibility
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `capture_iter` found for struct `regex::Regex` in the current scope
[INFO] [stdout]   --> src/bin/day07.rs:63:37
[INFO] [stdout]    |
[INFO] [stdout] 63 |                     for c in var_re.capture_iter(pattern) {
[INFO] [stdout]    |                                     ^^^^^^^^^^^^ help: there is a method with a similar name: `captures_iter`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `capture_iter` found for struct `regex::Regex` in the current scope
[INFO] [stdout]   --> src/bin/day07.rs:63:37
[INFO] [stdout]    |
[INFO] [stdout] 63 |                     for c in var_re.capture_iter(pattern) {
[INFO] [stdout]    |                                     ^^^^^^^^^^^^ help: there is a method with a similar name: `captures_iter`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/bin/day07.rs:65:25
[INFO] [stdout]    |
[INFO] [stdout] 65 |                         values.insert(key, Literal(*val))
[INFO] [stdout]    |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^- help: consider using a semicolon here: `;`
[INFO] [stdout]    |                         |
[INFO] [stdout]    |                         expected `()`, found enum `Option`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected unit type `()`
[INFO] [stdout]                    found enum `Option<Value<'_>>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/bin/day07.rs:65:25
[INFO] [stdout]    |
[INFO] [stdout] 65 |                         values.insert(key, Literal(*val))
[INFO] [stdout]    |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^- help: consider using a semicolon here: `;`
[INFO] [stdout]    |                         |
[INFO] [stdout]    |                         expected `()`, found enum `Option`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected unit type `()`
[INFO] [stdout]                    found enum `Option<Value<'_>>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/bin/day07.rs:63:21
[INFO] [stdout]    |
[INFO] [stdout] 63 | /                     for c in var_re.capture_iter(pattern) {
[INFO] [stdout] 64 | |                         let val: &u16 = get_value(&c[1], values);
[INFO] [stdout] 65 | |                         values.insert(key, Literal(*val))
[INFO] [stdout] 66 | |                     }
[INFO] [stdout]    | |_____________________^ expected `&u16`, found `()`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/bin/day07.rs:63:21
[INFO] [stdout]    |
[INFO] [stdout] 63 | /                     for c in var_re.capture_iter(pattern) {
[INFO] [stdout] 64 | |                         let val: &u16 = get_value(&c[1], values);
[INFO] [stdout] 65 | |                         values.insert(key, Literal(*val))
[INFO] [stdout] 66 | |                     }
[INFO] [stdout]    | |_____________________^ expected `&u16`, found `()`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 7 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0106, E0308, E0425, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0106`.
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 7 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0106, E0308, E0425, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0106`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `aoc2015` due to 8 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `aoc2015` due to 8 previous errors
[INFO] running `Command { std: "docker" "inspect" "1db4bf9e3219e4f0d61db02a872b6bc688e5250d9672c348f0688388e9fa5566", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1db4bf9e3219e4f0d61db02a872b6bc688e5250d9672c348f0688388e9fa5566", kill_on_drop: false }`
[INFO] [stdout] 1db4bf9e3219e4f0d61db02a872b6bc688e5250d9672c348f0688388e9fa5566
